class Person
	attr_accessor :age
	def initialize(options)
		self.age = options[:age]
	end
	def teenager?
		(13..19) === age
	end
end

people = 10.step(25,3).map {|i| Person.new(:age => i)}

teens = people.partition {|person| person.teenager?}

puts "#{teens[0].size} teens; #{teens[1].size} non-teens"

puts [1,2,3,4].first
puts "-----------"
f =  {"Smith" => "John","Jones" => "Jans"}.first
p f
